package cn.swu.lzr.page;

import jakarta.servlet.http.HttpServlet;

public class Pager extends HttpServlet {


    private int currentPage;
    private int total;




    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }


    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public Pager() {
    }
    public Pager( int total, int currentPage)
    {
        this.currentPage = currentPage;
        this.total = total;
    }



}
